import axios from 'axios';
import { loginreq, req } from './axiosFun';
/**
 * 退货入库管理
 **/
// 退货入库管理-获取退货入库列表
export const returnInList = (params) => { return req("post", "/api/inbound/list/page", params) };

// 退货入库管理-保存
export const returnInSave = (params) => { return req("post", "/api/inbound/save", params) };
// 退货入库管理-编辑
export const returnInEdit = (params) => { return req("post", "/api/inbound/edit", params) };

// 退货入库管理-删除退货入库
export const returnInDelete = (params) => { return axios.delete("/api/inbound/del/" + params).then(res => res.data) };
// 退货入库管理-修改状态
export const returnInStatus = (params) => { return req("post", "/api/inbound/edit", params) };
// 退货入库管理-批量删除
export const returnInBatchDel = (params) => { return req("post", "/api/inbound/del/batch", params) };
